package abcy.cloud.syscoreserver.services;

import abcy.cloud.syscoreserver.dto.req.SysRoleAddReqDto;
import abcy.cloud.syscoreserver.dto.req.SysRoleSelectReqDto;
import abcy.cloud.syscoreserver.dto.resp.SysRoleSelectRespDto;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface SysRoleService {

    PageInfo<SysRoleSelectRespDto> selectRolesForPage(SysRoleSelectReqDto sysRoleSelectReqDto);

    void addRole(SysRoleAddReqDto sysRoleAddReqDto);

    Map<String, Object> selectRolesByUserId(Map<String, Object> map);
}
